package edu.nf.ch07.demo1;

import edu.nf.ch07.demo1.service.PaymentContext;

import java.math.BigDecimal;

/**
 * @author CSY
 * @date 2025 - 04 - 17
 */
public class Main {
    public static void main(String[] args) {
        PaymentContext context = new PaymentContext("wechat");

        BigDecimal money = new BigDecimal("100.00");

        context.pay(money);

    }
}
